from typing import List
from alg import Solution
from gen import grid,target
Solution=Solution()
print(Solution.wordPuzzle(grid,target))